package com.hnucm.cooklife.bean.home;

import java.util.List;

public class DishData {
    private String msg;
    private int code;
    private DataDTO data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        private List<RecordsDTO> records;
        private int total;
        private int size;
        private int current;
        private List<?> orders;
        private boolean optimizeCountSql;
        private boolean hitCount;
        private Object countId;
        private Object maxLimit;
        private boolean searchCount;
        private int pages;

        public List<RecordsDTO> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsDTO> records) {
            this.records = records;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public boolean isOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public boolean isHitCount() {
            return hitCount;
        }

        public void setHitCount(boolean hitCount) {
            this.hitCount = hitCount;
        }

        public Object getCountId() {
            return countId;
        }

        public void setCountId(Object countId) {
            this.countId = countId;
        }

        public Object getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Object maxLimit) {
            this.maxLimit = maxLimit;
        }

        public boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(boolean searchCount) {
            this.searchCount = searchCount;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public static class RecordsDTO {
            private int dishId;
            private String dishname;
            private String dishdesc;
            private String dishpic;
            private int userid;
            private String username;
            private String icon;
            private String bg;
            private double dishscore;
            private int dishdone;
            private int collect;

            public int getDishId() {
                return dishId;
            }

            public void setDishId(int dishId) {
                this.dishId = dishId;
            }

            public String getDishname() {
                return dishname;
            }

            public void setDishname(String dishname) {
                this.dishname = dishname;
            }

            public String getDishdesc() {
                return dishdesc;
            }

            public void setDishdesc(String dishdesc) {
                this.dishdesc = dishdesc;
            }

            public String getDishpic() {
                return dishpic;
            }

            public void setDishpic(String dishpic) {
                this.dishpic = dishpic;
            }

            public int getUserid() {
                return userid;
            }

            public void setUserid(int userid) {
                this.userid = userid;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getBg() {
                return bg;
            }

            public void setBg(String bg) {
                this.bg = bg;
            }

            public double getDishscore() {
                return dishscore;
            }

            public void setDishscore(double dishscore) {
                this.dishscore = dishscore;
            }

            public int getDishdone() {
                return dishdone;
            }

            public void setDishdone(int dishdone) {
                this.dishdone = dishdone;
            }

            public int getCollect() {
                return collect;
            }

            public void setCollect(int collect) {
                this.collect = collect;
            }
        }
    }

//    private int code;
//    private String msg;
//    private Object obj;
//    private List<DataDTO> data;
//
//    public static class DataDTO {
//        private int dishId;
//        private String dishName;
//        private String dishDesc;
//
//        private String dishPic;
//        private int userId;
//
//        private String username;
//        private String icon;
//        private double dishScore;
//        private int dishDone;
//
//        private int collect;
//
//        public int getCollect() {
//            return collect;
//        }
//
//        public void setCollect(int collect) {
//            this.collect = collect;
//        }
//
//        public String getDishPic() {
//            return dishPic;
//        }
//
//        public void setDishPic(String dishPic) {
//            this.dishPic = dishPic;
//        }
//
//        public int getUserId() {
//            return userId;
//        }
//
//        public void setUserId(int userId) {
//            this.userId = userId;
//        }
//
//        public String getUsername() {
//            return username;
//        }
//
//        public void setUsername(String username) {
//            this.username = username;
//        }
//
//        public String getIcon() {
//            return icon;
//        }
//
//        public void setIcon(String icon) {
//            this.icon = icon;
//        }
//
//        public double getDishScore() {
//            return dishScore;
//        }
//
//        public void setDishScore(double dishScore) {
//            this.dishScore = dishScore;
//        }
//
//        public int getDishDone() {
//            return dishDone;
//        }
//
//        public void setDishDone(int dishDone) {
//            this.dishDone = dishDone;
//        }
//
//        public int getDishId() {
//            return dishId;
//        }
//
//        public void setDishId(int dishId) {
//            this.dishId = dishId;
//        }
//
//        public String getDishName() {
//            return dishName;
//        }
//
//        public void setDishName(String dishName) {
//            this.dishName = dishName;
//        }
//
//        public String getDishDesc() {
//            return dishDesc;
//        }
//
//        public void setDishDesc(String dishDesc) {
//            this.dishDesc = dishDesc;
//        }
//    }
//
//    public int getCode() {
//        return code;
//    }
//
//    public void setCode(int code) {
//        this.code = code;
//    }
//
//    public String getMsg() {
//        return msg;
//    }
//
//    public void setMsg(String msg) {
//        this.msg = msg;
//    }
//
//    public Object getObj() {
//        return obj;
//    }
//
//    public void setObj(Object obj) {
//        this.obj = obj;
//    }
//
//    public List<DataDTO> getData() {
//        return data;
//    }
//
//    public void setData(List<DataDTO> data) {
//        this.data = data;
//    }

}
